package com.bruan.d4_abstract_temp;

//模板方法设计模式
public abstract class C {
    public final void sing(){
        System.out.println("sing");
        doSing();
        System.out.println("sing over");
    }

    public abstract void doSing();
}
